<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title> hAdmin- 主页</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/Admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/animate.css" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/style.css?v=4.1.0" rel="stylesheet">
        <!-- 百度编辑器 -->
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.all.min.js"> </script>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                        <i class="fa fa-area-chart"></i>
                                        <strong class="font-bold">后台管理</strong>
                                    </span>
                                </span>
                            </a>
                        </div>
                        <div class="logo-element"><i class="fa fa-area-chart"></i>
                        </div>
                    </li>
                    <!-- 
	                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
	                        <span class="ng-scope">Menu</span>
	                    </li> 
                    -->
                    
                    <li>
                        <a class="J_menuItem" href="{:U('Index/index')}">
                            <i class="fa fa-home"></i>
                            <span class="nav-label">主页</span>
                        </a>
                    </li>
                    <volist name="menu" id="vo">
	                    <li>
	                        <a href="#">
	                            <i class="fa fa fa-bar-chart-o"></i>
	                            <span class="nav-label">{$vo.title}</span>
	                            <span class="fa arrow"></span>
	                        </a>
	                        <ul class="nav nav-second-level">
	                            <volist name="vo['_data']" id="vvo">
		                            <li>
		                                <a class="J_menuItem" href="{:U($vvo['url'])}">{$vvo['title']}</a>
		                            </li>
	                            </volist>
	                        </ul>
	                    </li>
                    </volist>
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                       <a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i class="fa fa-bars"></i> </a>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <a class="dropdown-toggle count-info" onclick="outLogin()">
                               <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
                               <!-- <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>-->
                                <!--layer弹框-->
							    <script src="__PUBLIC__/layer/layer.js"></script>
							    <script>
							    
							     function outLogin(){
							           $.ajax({
							            url     :"{:U('Login/outLogin')}",
							            dataType:'json',
							            success :function(res){
							                if(res.status == 1){
							                	layer.msg(res.info,{time:2000},function(){ 
							                       location.href  = "{:U('Login/index')}";
							                    });
							                }
							            }
							           })
							     }
							       
							    </script>
                            </a>
                        </li>
                        <!--
                        <li class="dropdown">
                            <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                                <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
                            </a>
                        </li>
                        -->
                    </ul>
                </nav>
            </div>
            <div class="row J_mainContent" id="content-main" style="overflow-Y:scroll;">
              <block name="main">
             
                <!--主要内容-->
             
              </block>
            </div>
        </div>
        <!--右侧部分结束-->
    </div>

    <!-- 全局js -->
    <script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="__PUBLIC__/Admin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="__PUBLIC__/Admin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="__PUBLIC__/Admin/js/plugins/layer/layer.min.js"></script>

    <!-- 自定义js -->
    <script src="__PUBLIC__/Admin/js/hAdmin.js?v=4.1.0"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/index.js"></script>

    <!-- 第三方插件 -->
    <script src="__PUBLIC__/Admin/js/plugins/pace/pace.min.js"></script>

</body>

</html>
